package com.imooc.enums;

import lombok.Getter;

/**
 * 异常 枚举
 * Created by ancy on 2017/7/9.
 */
@Getter
public enum ResultEnums {
    UNKNOW_ERRO(500,"未知错误"),
    SUCCESS(200,"操作成功");
    private Integer code;

    private  String msg;

    ResultEnums (Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
